Optimal. Leaf size=85 \[ \frac {\left (a+b x^2\right )^{1+p} \left (c+d x^2\right )^q \left (\frac {b \left (c+d x^2\right )}{b c-a d}\right )^{-q} \, _2F_1\left (1+p,-q;2+p;-\frac {d \left (a+b x^2\right )}{b c-a d}\right )}{2 b (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {455, 72, 71}
\begin {gather*} \frac {\left (a+b x^2\right )^{p+1} \left (c+d x^2\right )^q \left (\frac {b \left (c+d x^2\right )}{b c-a d}\right )^{-q} \, _2F_1\left (p+1,-q;p+2;-\frac {d \left (b x^2+a\right )}{b c-a d}\right )}{2 b (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 72
Rule 455
Rubi steps
\begin {align*} \int x \left (a+b x^2\right )^p \left (c+d x^2\right )^q \, dx &=\frac {1}{2} \text {Subst}\left (\int (a+b x)^p (c+d x)^q \, dx,x,x^2\right )\\ &=\frac {1}{2} \left (\left (c+d x^2\right )^q \left (\frac {b \left (c+d x^2\right )}{b c-a d}\right )^{-q}\right ) \text {Subst}\left (\int (a+b x)^p \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^q \, dx,x,x^2\right )\\ &=\frac {\left (a+b x^2\right )^{1+p} \left (c+d x^2\right )^q \left (\frac {b \left (c+d x^2\right )}{b c-a d}\right )^{-q} \, _2F_1\left (1+p,-q;2+p;-\frac {d \left (a+b x^2\right )}{b c-a d}\right )}{2 b (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 84, normalized size = 0.99 \begin {gather*} \frac {\left (a+b x^2\right )^{1+p} \left (c+d x^2\right )^q \left (\frac {b \left (c+d x^2\right )}{b c-a d}\right )^{-q} \, _2F_1\left (1+p,-q;2+p;\frac {d \left (a+b x^2\right )}{-b c+a d}\right )}{2 b (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int x \left (b \,x^{2}+a \right )^{p} \left (d \,x^{2}+c \right )^{q}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,{\left (b\,x^2+a\right )}^p\,{\left (d\,x^2+c\right )}^q \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________